package com.hkts.management.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @ClassNamePayDetailInfoVo
 * @Description
 * @Author yck
 * @Date2021-08-17 15:09
 * @Version V1.0
 **/
@Data
@ApiModel(description = "支付详情信息")
public class PayDetailInfoVo extends PayListVo {
    @ApiModelProperty("货主id")
    private String shipper;
    @ApiModelProperty("货主名称")
    private String shipperName;
    @ApiModelProperty(value = "确认收货人")
    private String consignee;
    /**
     * 确认收货时间
     */
    @ApiModelProperty(value = "确认收货时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime receivingTime;

    @ApiModelProperty(value = "支付期限")
    private Integer payTime;
    /**
     * 运费支付时间
     */
    @ApiModelProperty(value = "运费支付时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime freightPaymentTime;

    /**
     * 运费待支付时间
     */
    @ApiModelProperty(value = "运费待支付时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timeToBetPaid;

    /**
     * 收款人
     */
    @ApiModelProperty(value = "收款人")
    private String payee;
    /**
     * 收款银行
     */
    @ApiModelProperty(value = "收款银行")
    private String collectingBank;
    /**
     * 银行支行名称
     */
    @ApiModelProperty(value = "银行支行名称")
    private String bankName;
    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    private String bankCode;
    @ApiModelProperty(value = "运费支付单号")
    private String payTransport;

    @ApiModelProperty(value = "运费支付人")
    private String freightPaymentUser;

    @ApiModelProperty(value = "运费支付人姓名")
    private String freightPaymentUserName;
}
